<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <title id="title"><%= htmlWebpackPlugin.options.title %></title>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
    <script src="./config.js"></script>
    <script>
      const title = document.getElementById('title')
      title.innerText = window.CUSTOM_CONFIG.TITLE
    </script>
    <!-- 引入百度地图 BMapGL -->
    <script type="text/javascript">
      ;(function () {
        window.BMAP_PROTOCOL = 'https'
        window.BMapGL_loadScriptTime = new Date().getTime()
        document.write('<script type="text/javascript" src="https://api.map.baidu.com/getscript?type=webgl&v=1.0&ak=' + window.CUSTOM_CONFIG.BMAP_KEY + '&services=&t=20230613170744"+><\/script>')
        document.write('<link rel="stylesheet" type="text/css" href="https://api.map.baidu.com/res/webgl/10/bmap.css"/>')
      })()
    </script>
    <!-- 点聚合 -->
    <script src="./BMapLib/MarkerClusterer_min.js"></script>
    <script src="./BMapLib/TextIconOverlay_min.js"></script>
  </body>
</html>
